﻿@model System.String

<div id="wmd-button-bar" class="wmd-panel"></div><br />
@Html.TextAreaFor(Editor => Editor, new { id = "wmd-input" })<br />
<em>preview window</em><br />
<div id="wmd-preview" class="wmd-panel"></div>

@Html.Resource(@<link href="@Url.ThemeContent("CSS/wmd.css")" rel="stylesheet" type="text/css" />, "css")
@Html.Resource(@<script src="@Url.ThemeContent("JS/showdown.js")" type="text/javascript" language="javascript"></script>, "js")
@Html.Resource(@<script src="@Url.ThemeContent("JS/wmd.min.js")" type="text/javascript" language="javascript"></script>, "js")
@Html.Resource(@<script src="@Url.ThemeContent("JS/jquery.autosize.js")" type="text/javascript" language="javascript"></script>, "js")
@Html.Resource(
    @<script type="text/javascript" language="javascript">
         $(document).ready(function () {
             $("#wmd-input").autoResize();
         });
    </script>
, "js")